<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="7193Adjustingthepositionofthescalelabels.html">
<LINK REL="Next" HREF="7195InvertingtheYaxis.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="7193Adjustingthepositionofthescalelabels.html">Previous</A>
<A HREF="7195InvertingtheYaxis.html">Next</A>
<HR NOSHADE>
<H3><A NAME="7_19_4">7.19.4 Formatting the scale labels</A></H3>
<P> In order to have full control over the way that the labels are
 displayed it is possible to define a callback function that will be
 applied to all labels. The callback function will be called with the
 label as the only argument and should return the value that will be
 displayed in the graph. This could for example be used to turn seconds
 (used to position data points) into hour and minutes on the scale. For
 further reference see the two methods: <A href="../ref/Axis.html#_AXIS_SETLABELFORMATCALLBACK">
 Graph::SetLabelFormatCallback();</A> and <A href="../ref/Axis.html#_AXIS_SETLABELFORMAT">
 Graph::SetLabelFormat();</A></P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="7193Adjustingthepositionofthescalelabels.html">Previous</A>
<A HREF="7195InvertingtheYaxis.html">Next</A>
</BODY>
</HTML>
